    #!/usr/bin/env python3
import numpy as np
from .display import Display

class GpsF1DDisplay(Display):
    """
    Display 1D."""
    def drawPos(self,real_pos,meas_pos,esti_pos):
        """
        Draw sub-image for position.
        Args:
            real_pos: list for real position.
            meas_pos: list for real position.
            esti_pos: list for estimate position.
        """
        dl = [real_pos, meas_pos, esti_pos]
        dl_names = ["Real-Pos","Meas-Pos","Estimate-Pos"]
        self.draw(211, "Position Data", dl, dl_names)

    def drawVel(self,real_pos,esti_pos):
        """
        Draw sub-image for velocity.
        Args:
            real_pos: list for real position.
            esti_pos: list for estimate position.
        """
        dl = [real_pos,[],esti_pos]
        dl_names = ["Real-Vel","","Estimate-Vel"]
        self.draw(212, "Position Data", dl, dl_names)
